:root {
    --color-primary: #17a2b8;
    --color-secondary: #6c757d;
    --text-primary: #17a2b8;
    --magnolia: #f4f5ff;
    --black: #000;
    --_background: #f4f6f9;
    --white: #fff;
    --container: var(--color-secondary);
    --text-color: var(--white);
    --text-link: var(--color-secondary);
    --text-header: var(--color-primary);
    --banner: var(--color-primary);
    --background: var(--_background);
    --btn-primary: var(--color-primary);
    --btn-secondary: var(--color-secondary);
    --box-shadow: 0 0 1px rgba(0,0,0,.125), 0 1px 3px rgba(0,0,0,.2);
    --shadow: rgba(0, 0, 0, .3) 0 1px 2px 0, rgba(0, 0, 0, .15) 0 2px 6px 2px;
    --text-shadow: rgba(0, 0, 0, .3) 0 1px 2px
}

*,
::after,
::before {
    box-sizing: border-box
}
.d-none{
    display: none !important;
}
.textarea {    
    background-color:#fff;
    border-radius:20px;
    outline: none;
    border: 1px solid #ccc;
    font-family: inherit;
    font-size: 18px;
    padding: 1px 6px;
}
.textarea {
    padding-top: 8px;
    padding-left: 10px;
    margin-right: 40px;
    display: block;
    width: 100%;
    overflow-x: hidden;
    resize: vertical;
    min-height: 40px;
    max-height: 100px;
    line-height: 20px;
}
.textarea[contenteditable]:empty::before {
    content: "Message";
    color: gray;
}
.announcement {
    text-align: justify;
    text-justify: inter-word;
}
.text-left {
    text-align: left !important;
}
.custom-control-label {
    position: relative;
    margin-bottom: 0;
    vertical-align: top;
}
.custom-control-input {
    position: absolute;
    left: 0;
    z-index: -1;
    width: 1rem;
    height: 1.25rem;
    opacity: 1;
}
.custom-control {
    position: relative;
    z-index: 1;
    display: block;
    min-height: 1.5rem;
    padding-left: 1.5rem;
    -webkit-print-color-adjust: exact;
    color-adjust: exact;
}
img#image {
    width: 100%;
}
.h2, h2 {
    font-size: 2rem;
}
.container {
    box-shadow: var(--shadow);
    padding: 20px;
    max-width: 350px;
    margin: auto;
    margin-top: 20px;
    border-radius: 5px;
    position: relative;
}

.text-primary {
    color: #17a2b8!important;
}
.text-danger {
	color: #dc3545!important;
}
.text-sm {
	font-size: .875rem!important;
}
.text-center {
    text-align: center!important;
}
.timer, .remainTime {
    text-transform: uppercase;
    font-size: 100% !important;
    font-weight: normal;
}
.timer b, .remainTime b{
    font-weight: bold;
    font-size:	200% !important;
}
#scanQrBtn {
    margin-left: -40px;
}
#scanQrBtn img{
    cursor: pointer;
    width: 40px;
    height: 100%;
}
#qrcode img{
    margin: auto;
}
#insBody {
    text-align: left !important;
    border-radius: 5px;
}
li {
    border-bottom: 1px solid rgba(0, 0, 0, .125);
    line-height: 1rem;
    padding: 10px;
    background: #17a2b859;
}
.loader {
    margin: auto;
    pointer-events: none;
    width: 22.5px;
    height: 22.5px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #fff;
    animation: an1 1s ease infinite
}
.timeloader {
    margin: auto;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #f4f6f9;
    border-top-color: var(--background);
    animation: an1 1s ease infinite
}
.bodyloader {
    position: absolute;
    top: 50dvh;
    left: 45dvw;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: var(--color-primary);
    animation: an1 1s ease infinite
}
@keyframes an1 {
    0% {
        transform: rotate(0turn)
    }

    100% {
        transform: rotate(1turn)
    }
}

hr {
    border: 1.5px solid #17a2b8;
    border: 1.5px solid var(--color-primary)
}

table {  
    border-bottom: 1px solid rgba(0, 0, 0, .125);
    padding: 10px;
    background: #17a2b859;
    color: #757575;
    width: 100%;
    border-collapse: collapse
}
p {
    color: #757575;
}
td {
    border-bottom: 1px solid rgba(0, 0, 0, .125);
}

thead {
    font-weight: bolder
}

#wrmodal thead, #pointsmodal thead {
    text-transform: uppercase;
    color: #fff;
    background-color: #6c757d;
    background-color: var(--color-secondary);
}

#wrmodal td, #pointsmodal td {
    padding: 5px
}

html, body {
    margin: 0;
    background: gray;
    color: #757575;
    background: var(--background);
    font-family: sans-serif;
}

.btn {
    text-shadow: var(--text-shadow);
    text-transform: uppercase;
    cursor: pointer;
    font-weight: bolder;
    font-size: 20px;
    width: 100%;
    margin: 3px 0;
    border-radius: 5px;
    border: none;
    padding: 8px 24px !important;
    transition: all .2s ease;
    box-shadow: var(--shadow);
}

.btn:disabled{
    opacity: 0.6;
}
.btn-primary {
    background: #17a2b8;
    color: #fff;
}

.btn-secondary {
    background: #6c757d;
    color: #fff;
}

.btn-success {
    background: #28a745!important;
    color: #fff;
}

.btn-danger {
	background: #dc3545!important;
    color: #fff;
}
#cancelsubBtn{
    letter-spacing: unset;
}
.btn:active {
    box-shadow: rgba(0, 0, 0, .3) 0 1px 2px 0, rgba(0, 0, 0, .15) 0 2px 6px 2px;
    box-shadow: var(--shadow);
    transform: scale(0.96)
}

.banner {
    max-width: 100%;
    height: auto;
    text-align: center;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.details {
    max-width: 300px;
    border-radius: 5px;
    box-shadow: var(--shadow);
    text-transform: uppercase;
    font-size: 15px;
    color: #6c757d;
    color: var(--color-secondary);
    margin: auto;
}

.btn-group {
    position: relative;
    z-index: 1;
    /* width: 80%; */
    max-width: 300px;
    margin: 10px auto auto;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.scroll-left {
    max-width: 300px;
    border-radius: 1px;
    margin: 0 auto;
    white-space: nowrap;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: -5px;
    margin-bottom: 10px;
    color: #6c757d;
    color: var(--color-secondary);
}

.scroll-left span {
    display: inline-block;
    padding-left: 100%;
    animation: scroll-left 15s linear infinite
}

@keyframes scroll-left {
    to {
        transform: translateX(-100%)
    }
}
#status {
    font-weight: bolder;
}

input[type="text"] {
    border: none;
    outline: none;
    background-color: #fff;
    width: 75%;
    text-align: left;
    font-weight: bolder;
    font-size: 20px;
    border-radius: 5px 0 0 5px;
    padding: 10px 40px 10px 30px
}

input[type="text"], #v_code{
    font-size: unset;
    font-weight: unset;
}

input[type="username"],
input[type="password"],
input[type="number"] {
    border: none;
    outline: none;
    background-color: #fff;
    width: 100%;
    text-align: center;
    font-weight: bolder;
    font-size: 20px;
    border-radius: 5px;
    padding: 10px;
    margin: 5px 0;
    border: 1.5px solid #17a2b8;
}

.btn-footer {
    display: flex;
    justify-content: space-between
}

.btn-footer [data-ml-close],
[data-gc-close],
[data-login],
[data-gc-pay] {
    width: 48%
}

.row {
    max-width: 700px;
    min-width: 300px;
    margin: auto;
    height: 100dvh;
    min-height: 755px;
    margin-bottom: -64px;
}

a {
    cursor: pointer;
    color: #17a2b8;
    color: var(--color-primary);
    text-decoration: none;
    background-color: transparent
}

.footer {
    font-size: 12px;
    width: 100%;
    min-width: 300px;
    margin: auto;
    padding: 25px 0px 25px 0px;
    clear: both;
}

.submit {
    text-shadow: rgba(0, 0, 0, .3) 0 1px 2px;
    text-shadow: var(--text-shadow);
    cursor: pointer;
    text-transform: uppercase;
    font-size: 20px;
    color: #fff;
    font-weight: bolder;
    background: #17a2b8;
    background: var(--color-secondary);
    border: none;
    border-radius: 0 3px 3px 0;
    width: 25%;
    min-width: 105px;
    transition: all .2s ease
}

.submit:active {
    transform: scale(0.99)
}

.input-group {
    box-shadow: rgba(0, 0, 0, .3) 0 1px 2px 0, rgba(0, 0, 0, .15) 0 2px 6px 2px;
    box-shadow: var(--box-shadow);
    border-radius: 5px;
    text-align: center;
    width: 100%;
    border: 1px solid var(--color-secondary);
    margin: 2.5px auto;
    -webkit-box-sizing: border-box;
    box-sizing: border-box
}

.d-none {
    display: none
}

.btn-group-footer{
    display: flex;
    justify-content: space-between;
    text-align: center;
}

.btn-group-footer .btn-flex{
    width: 100%
}

.btn-flex .btn{
    width: 48%
}

.time-wrapper {
    background-color: #17a2b8;
    color: #f4f5ff;
    padding: 10px 0px;
    border-radius: 5px 5px 0px 0px;
    text-shadow: rgba(0, 0, 0, .3) 0 1px 2px;
    text-shadow: var(--text-shadow);
    font-weight: bolder;
    border: none;
    text-transform: uppercase;
    text-align: center;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.blinking{
    animation:blinkingText 1.2s infinite;
}

@keyframes blinkingText{
    0%{     color: rgba(255, 0, 0, 0);}
    10%{    color: rgba(255, 0, 0, 0.20);}
    20%{    color: rgba(255, 0, 0, 0.40);}
    30%{    color: rgba(255, 0, 0, 0.60);}
    40%{    color: rgba(255, 0, 0, 0.80);}
    50%{    color: rgba(255, 0, 0);}
    60%{    color: rgba(255, 0, 0, 0.80);}
    70%{    color: rgba(255, 0, 0, 0.60);}
    80%{    color: rgba(255, 0, 0, 0.40);}
    90%{    color: rgba(255, 0, 0, 0.20);}
    100%{   color: rgba(255, 0, 0, 0);}
}

.blinking1{
    animation:blinkingText1 1.2s infinite;
}

@keyframes blinkingText1{
    0%{     color: red;    }
    49%{    color: red; }
    60%{    color: transparent; }
    99%{    color:transparent;  }
    100%{   color: red;    }
}

.blinking2{
    animation:blinkingText2 1.2s infinite;
}
@keyframes blinkingText2{
    0%{     color: #4cd137;    }
    49%{    color: #4cd137; }
    60%{    color: transparent; }
    99%{    color:transparent;  }
    100%{   color: #4cd137;    }
}

.align-content-stretch {
    -ms-flex-line-pack: stretch !important;
    align-content: stretch !important
}

.flex-wrap {
    -ms-flex-wrap: wrap !important;
    flex-wrap: wrap !important;
    margin-bottom: 10px
}

.d-flex {
    display: -ms-flexbox !important;
    display: flex !important
}

.flex-fill {
    -ms-flex: 1 1 auto !important;
    flex: 1 1 auto !important
}

.progress-bar {
    color: #ffffff;
    height: 10px;
    margin: 10px 0;
    left: 0;
    background-color: #17a2b8;
    background-color: var(--color-primary)
}
.progress-bar span{
    font-size: 10px;
    float: right;
}
.text-right {
    text-align: right
}

p {
    display: block;
    margin-block-start: 5px;
    margin-block-end: 5px;
    margin-inline-start: 0;
    margin-inline-end: 0
}

#message {
    font-weight: bolder;
    color: #757575;
    color: var(--color-secondary)
}

.modal {
    background: rgba(0, 0, 0, 0.7);
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    z-index: 9999;
    text-align: center;
}

.modal.show {
    display: block
}

body.modal-active {
    overflow: hidden
}

body.dark-mode, 
.dark-mode input[type="text"],
.dark-mode .details,
.dark-mode .textarea,
.dark-mode .send_message,
.dark-mode .chatbox__support,
.dark-mode .chatbox__button button,
.dark-mode .modal-dialog {
    background: #454d55 !important;
    color: #fff;
}

.dark-mode .scroll-left,
.dark-mode p, 
.dark-mode table {
    color: #fff;
}

.modal-dialog {
    padding: 10px 30px;
    background: #fff;
    width: 350px;
    max-width: 530px;
    border-radius: 3px;
    position: absolute;
    top: -100%;
    left: 50%;
    max-height: 95%;
    -webkit-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    overflow-y: auto
}

.modal.show .modal-dialog {
    -webkit-animation-name: modalShow;
    animation-name: modalShow;
    -webkit-animation-duration: .5s;
    animation-duration: .5s;
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards
}

.modal table {
    text-align: left!important
}

.modal .header {
    padding: 10px;
    font-weight: bolder;
    font-size: larger;
    color: #17a2b8;
    color: var(--text-header)
}

@-webkit-keyframes modalShow {
    from {
        top: -100%;
        -webkit-transform: translate(-50%, 0);
        transform: translate(-50%, 0);
        opacity: 0
    }

    to {
        top: 50%;
        -webkit-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
        opacity: 1
    }
}

@keyframes modalShow {
    from {
        top: 30%;
        -webkit-transform: translate(-50%, 0);
        transform: translate(-50%, 0);
        opacity: 0
    }

    to {
        top: 50%;
        -webkit-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
        opacity: 1
    }
}

@media (orientation: portrait) {
    .row {
        width: 100%
    }

    /* .container {
        padding: 5px 30px
    } */

    .modal-dialog {
        width: 90%
    }
}

@media (orientation: landscape) {
    .row {
        max-width: 450px
    }

    .modal-dialog {
        width: 530px
    }

    .modal .modal-dialog.dialog-small {
        width: 350px
    }

    .submit {
        padding: 10px 5px !important
    }
}